<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>查询管理员</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
  </head>
  
  <body>
<table width="90%" cellpadding="0" cellspacing="1" align="center" border="1">
  <tr>
    <td width="245" height="20" align="center">用户名</td>
    <td width="312" align="center">权限</td>
    <td width="223" align="center">登录时间</td>
    <td width="122" align="center">&nbsp;</td>
    <td width="78" align="center">&nbsp;</td>
  </tr>
    <tr>
  <c:forEach items='${selectAdminList}' var="admin">
    <td align="center" height="20">${admin.username}</td>
    <td align="center">${admin.power}</td>
    <td align="center">${admin.loginTime}</td>
    <td align="center"><a href="update_admin_page.do?id=${admin.id}">编辑</a></td>
    <td align="center"><a href="update_admin_page.do?id=${admin.id}">删除</a></td>
  </tr>
  </c:forEach>
</table>
  </body>
</html>
